package com.telecom.weixi.parse;

import android.os.Parcel;
import android.os.Parcelable;

public class ServBaseInfo implements Parcelable{
	String accNbr;
//	String arpu;
//	String managerName;
//	String monFlow;
//	String subBrandName;
//	String servNum;
//	String joinDate;
//	String lastMFlow;
//	String payBal;
//	String custTypeName;
//	String name;
//	String state;
//	String trait;
	String custId;
	String custMangId;
	String servId;
	String servName;
	
	public ServBaseInfo(){
		
	}
	public ServBaseInfo(Parcel source) {
		accNbr = source.readString();
		custId = source.readString();
		custMangId = source.readString();
		servId = source.readString();
		servName = source.readString();
	}
	
	public static Parcelable.Creator<ServBaseInfo> CREATOR = new Creator<ServBaseInfo>() {
		
		@Override
		public ServBaseInfo[] newArray(int size) {
			return new ServBaseInfo[size];
		}
		
		@Override
		public ServBaseInfo createFromParcel(Parcel source) {
			return new ServBaseInfo(source);
		}
	};
	
	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		// TODO Auto-generated method stub
		dest.writeString(accNbr);
		dest.writeString(custId);
		dest.writeString(custMangId);
		dest.writeString(servId);
		dest.writeString(servName);
	}
	
	public String toString(){
		return accNbr + "-" + custId + "-" + custMangId + "-" + servId + "-" + servName;
 	}
	
	public String getAccNbr() {
		return accNbr;
	}
	public void setAccNbr(String accNbr) {
		this.accNbr = accNbr;
	}
	public String getCustId() {
		return custId;
	}
	public void setCustId(String custId) {
		this.custId = custId;
	}
	public String getCustMangId() {
		return custMangId;
	}
	public void setCustMangId(String custMangId) {
		this.custMangId = custMangId;
	}
	public String getServId() {
		return servId;
	}
	public void setServId(String servId) {
		this.servId = servId;
	}
	public String getServName() {
		return servName;
	}
	public void setServName(String servName) {
		this.servName = servName;
	}

}
